package com.tdam2013.grupo07.networking;

import android.content.Context;

public class ServerConectivitySingleton 
{

	private static ServerConectivity serverConectivity;
	private static ServerConectivitySingleton serverConectivitySingleton;
	
	public static ServerConectivitySingleton getInstance(Context context)
	{
		if(serverConectivitySingleton==null)
			serverConectivitySingleton=new ServerConectivitySingleton(context);
		return serverConectivitySingleton;
	}
	
	private ServerConectivitySingleton(Context context)
	{
		serverConectivity=new ServerConectivity(context);
	}
	
	public ServerConectivity getServerConectivity()
	{
		return serverConectivity;
	}
}
